package com.example.demo.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.example.demo.entity.User;
import com.example.demo.mapper.Usermapper;
import com.example.demo.service.Userservice;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class Userserviceimpl implements Userservice {
    @Resource
    Usermapper usermapper;

    @Override
    public User selectA(Wrapper<User> queryWrapper) {
        return usermapper.selectOne(queryWrapper);
    }
}
